#This requires a fairly recent version of make, preferably GNU's make.

#Fortran compiler
F77=ifort -diag_disable vec

#Set your compiler optimization flags in this
CFLAGS=-O3

# Location of tapenade executable
# TAPENADE_HOME must be defined, probably in your bashrc
# Else define it first
#TAPENADE_HOME=

#To use or not: LIMITED or UNLIMITED
TOLIMIT = UNLIMITED

#Libraries for gmres, linpack and blas
LIBBLAS  = -lblas
LIBS     = ${LIBGMRES} ${LIBBLAS}

###############################################################################
#Don't change anything below unless you really know what you are doing
###############################################################################
#Some more tapenade related stuff
TPDIR   = ../tapenade
GenLib  = ${TPDIR}/MyGeneralLib
ADLib   = ${TPDIR}/MyADLib

#
# fortran flags
#
FC     = ${F77}
GCC    = gcc
RM     = /bin/rm

#Location of flow solver files
SRCFLO = ../src-flo

#Location of adjoint solver files
SRCADJ = ../src-adj

#Location of mesh deformation files
SRCMSH = ../src-mesh

#Used by tapenade to change to flow solver directory
CDFLO = cd ${SRCFLO}
